public class if_test {
    public static void main(String[] args){
        double d = Math.random();
        int e = 1+(int)(d*6);
        System.out.println(e);
        if(e>3){
            System.out.println("大");
        }else{
            System.out.println("小");
        }

        switch (e){
            case 1:
                System.out.println("难受啊马飞");
                break;
            case 2:
                System.out.println("难受啊马飞飞");
                break;
        }
        //100以内奇偶和
        int sumJ = 0;
        int sumO = 0;
        for(int k=1;k<=100;k++){
            if(k%2==1){//奇数
                sumJ+=k;
            }else{
                sumO+=k;
            }
        }
        System.out.println(sumJ);
        System.out.println(sumO);
        //9*9
        for(int m=1;m<=9;m++){
            for(int n=1;n<=m;n++){
                System.out.print(n+"*"+m+"="+m*n+"\t");
            }
            System.out.println();
        }
    }
}
